package com.xxl.job.executor.core.config;


import com.xxl.job.executor.core.config.mybatis.MySqlInjector;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Lisicheng
 * @date 2023/4/5
 */
@Slf4j
@Configuration
public class MybatisPlusConfig {

  @Bean
  @ConditionalOnMissingBean
  public MySqlInjector getMySqlInjector() {
    return new MySqlInjector();
  }

}
